package top.zhan.factory.abs.ali;

import top.zhan.factory.abs.OrderFactory;
import top.zhan.factory.abs.PayFactory;
import top.zhan.factory.abs.RefundFactory;

/**
 * @author Zhan
 * @date 2022/9/27 10:32
 */
public class AliOrderFactory implements OrderFactory {

    @Override
    public PayFactory createPay() {
        return new AliPay();
    }

    @Override
    public RefundFactory createRefund() {
        return new AliRefund();
    }
}
